import axios from 'axios'

export const login = (username, password) => {
  return axios.post('/auth/login', {
    username,
    password
  })
}

export const register = (userData) => {
  return axios.post('/auth/register', userData)
}